<?php
/**
 * Created by PhpStorm.
 * User: m1514
 * Date: 2016/12/30
 * Time: 16:05
 */

namespace Common\Model;


class CommodityAttrModel extends BaseModel
{
    protected $pk='gtid';
    protected $tableName='goods_attr';
    protected $_validate=[
        array('gtvalue','require','请选择商品颜色或属性'),
        array('added','require','请填写附加价格'),
    ];
}